package cn.ilovese.collect.po.workermessage;

import java.util.Date;

public class WorkerMessage {
    private Integer id;

    private Integer reportId;

    private Integer cooReportId;

    private Integer taskId;

    private String taskName;

    private Integer toWorkerId;

    private Integer fromUserId;

    private Integer fromRole;

    private Integer messageType;

    private Integer status;

    private Date submitTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getReportId() {
        return reportId;
    }

    public void setReportId(Integer reportId) {
        this.reportId = reportId;
    }

    public Integer getCooReportId() {
        return cooReportId;
    }

    public void setCooReportId(Integer cooReportId) {
        this.cooReportId = cooReportId;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName == null ? null : taskName.trim();
    }

    public Integer getToWorkerId() {
        return toWorkerId;
    }

    public void setToWorkerId(Integer toWorkerId) {
        this.toWorkerId = toWorkerId;
    }

    public Integer getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(Integer fromUserId) {
        this.fromUserId = fromUserId;
    }

    public Integer getFromRole() {
        return fromRole;
    }

    public void setFromRole(Integer fromRole) {
        this.fromRole = fromRole;
    }

    public Integer getMessageType() {
        return messageType;
    }

    public void setMessageType(Integer messageType) {
        this.messageType = messageType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }
}